package com.xyz.jira.plugin.responses;

import javax.xml.bind.annotation.*;

/**
 * A message returned from the {@link CreateAnonIssue}
 */
@XmlRootElement(name = "issueCreated")
@XmlAccessorType(XmlAccessType.FIELD)
public class IssueCreated {
    @XmlAttribute(name="pid")
    private String projectId;
    
    @XmlElement(name = "iid")
    private String issueId;
    @XmlElement(name = "ikey")
    private String issueKey;

    public IssueCreated() {
    }

    public IssueCreated(String projectId, String issueId, String issueKey) {
        this.projectId = projectId;
        this.issueId = issueId;
        this.issueKey = issueKey;
    }

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getIssueId() {
		return issueId;
	}

	public void setIssueId(String issueId) {
		this.issueId = issueId;
	}

	public String getIssueKey() {
		return issueKey;
	}

	public void setIssueKey(String issueKey) {
		this.issueKey = issueKey;
	}

    
}
